from PyQt5.QtCore import pyqtSignal,QObject

class SignalHandle(QObject):
    '''信号总线，要继承QObject'''
    #signal的定义必须在init函数之外
    warnMsgSignal=pyqtSignal(dict)  #预警信息传递到界面
    tradeTimeSignal=pyqtSignal(str)  #交易所时间刷新
    closeApiSignal=pyqtSignal(str)  #关闭线程
    TQwaitUpdateSig=pyqtSignal()  #关闭线程

signalHandle=SignalHandle()